<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登陆</title>
    <link rel="stylesheet" href="../css/register.css">
    <style>
       #register{
           height: 300px;
       }
       .zc{
           display: inline-block;
           margin-left: 20px;
           font-size: 12px;
           height: 30px;
           line-height: 30px;
           color: blue;
       }
    </style>
</head>
<body>
    <div id="register">
        <h3>
            教师
            <span>
                登录
            </span>  
        </h3>
        <form action="LoginServlet" method="post" onsubmit="return canSubmit()">
            <p id="userError" class="errorMsg">&nbsp;</p>
            <input class="inputMsg" type="text" name="username" onblur="usermouseout(this)" placeholder="输入用户名">
            <p id="pwdError" class="errorMsg">&nbsp;</p>
            <input class="inputMsg" type="password" name="userpass" onblur="pswmouseout(this)" placeholder="输入密码">
            <input id="subButton" type="submit" value="登 陆">
            <a href="html/register.html" class="zc">没有账号？去注册</a>
        </form>
    </div>
</body>
<script src="../js/login.js"></script>
</html>